.cardBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  // width: 320px;
  height: 150px;
  margin-bottom: 10px;
}
.cardBtn:hover {
  cursor: pointer;
}
.cardBtn:active {
  border: 1px solid #1677ff;
}

.content {
  :global {
    .hov-card-body {
      // padding: 0px;
    }
  }
}

.cardWrapper {
  position: relative;
  height: 100%;
  overflow: hidden; /* 添加 overflow:hidden 用于裁剪 overlay */
  border-radius: 8px;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.overlay:hover {
  opacity: 1;
}

.defaultIcon {
  position: absolute;
  top: -1px;
  right: -1px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.triangle {
  position: absolute;
  width: 0;
  height: 0;
  border: 20px solid #1677ff;
  content: '';
  inset-block-start: 2px;
  inset-inline-end: 2px;
  border-block-end: 20px solid transparent;
  border-inline-start: 20px solid transparent;
  border-start-end-radius: 8px;
}

.checkIcon {
  position: relative;
  z-index: 2; /* 调整图标的 z-index */
  margin-top: 5px; /* 调整图标与三角形的间距 */
  margin-left: -10px;
  color: #fff;
}

.buttonWrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
}
